func = \x -> when n is
              0 -> 0
42